<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="css/main.css">
    <link rel="stylesheet" href="./css/login.css">
    <style>
    </style>
    <title>login</title>
</head>

<body style="background-image: url(./img/c.jpg);" class="">
    <header>
        <nav class="nav-top">
            <div id="logo">
                <a href="./index.html">
                    暗天使
                </a>
            </div>
            <div class="menu">
                <i class="iconfont icon-menu"></i>
            </div>
            <div class="nav">
                <a href="index.html" class="item">首页</a>
                <a href="./list.html" class="item">文章</a>
                <a href="./archives.html" class="item">足迹</a>
                <a href="./links.html" class="item">友链</a>
                <a href="about.html" class="item">关于</a>
            </div>
            <div class="search">
                <a href="#">
                    <i class="iconfont icon-31sousuo"></i>
                    <!-- <img src="./img/icon/搜索_填充.png" alt=""> -->
                </a>
                <div class="search-box ">
                    <div class="quit">
                        <a href="#">
                            关闭
                        </a>
                    </div>
                    <form action="./search.html">
                        <input required type="text" name="q" id="" placeholder="想要找点什么呢？">
                        <input type="submit" value="搜索">
                    </form>
                </div>
            </div>
        </nav>
        <div id="cd-top">
            <img src="./img/f.png" alt="">
        </div>
    </header>

    <main style="padding: 0;">
        <div class="login-box">
            <form action="./admin" method="get" autocomplete="off">
                <div class="input-item">
                    <div class="label">邮箱/手机号</div>
                    <input class="input" type="text" autocomplete="off">
                </div>
                <div class="input-item">
                    <div class="label">密码</div>
                    <input class="input" type="password">
                </div>
                <div class="input-item">
                    <input class="submit" type="submit" value="登录">
                </div>
                <div class="fn">
                    <a href="./index.html">返回首页</a> - 
                    <a href="#">忘记密码</a>
                </div>
            </form>
        </div>
    </main>
    <script src="./js/main.js"></script>
    <script>
        let form = document.querySelector('.login-box form')
        let body = document.body
        form.addEventListener('mouseover', function () {
            body.classList.add('filter')
        })

        form.addEventListener('mouseout', function () {
            body.classList.remove('filter')
        })
    </script>
</body>

</html>